package com.seezoon.infrastructure.properties;

import jakarta.validation.constraints.Min;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class DeviceProperties {

    /**
     * 注册验证，白名单
     */
    private boolean registerValidate = true;
    /**
     * 单位S
     */
    private long heartbeatTimeout = 2 * 60;
    /**
     * 上报批次处理大小
     */
    @Min(1)
    private int batchSize = 200;
    /**
     * 上报处理最大队列
     */
    @Min(1)
    private int maxQueueSize = 10000;
}
